package com.road.common.core;

/**
 * 服务器配置,针对每一个服务器的常用配置
 **/
public class NetConfigXml {

	private int id;
	private String name;
	private String address;
	private int port;
	private int adminPort;
	private String user;
	private String password;
	private String desc;

	public NetConfigXml(int id, String name, String address, int port, int adminPort, String user, String password, String desc) {
		this.id = id;
		this.name = name;
		this.address = address;
		this.port = port;
		this.adminPort = adminPort;
		this.user = user;
		this.password = password;
		this.desc = desc;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getAddress() {
		return address;
	}

	public int getPort() {
		return port;
	}

	public int getAdminPort() {
		return adminPort;
	}

	public String getUser() {
		return user;
	}

	public String getPassword() {
		return password;
	}

	public String getDesc() {
		return desc;
	}

	@Override
	public String toString() {
		return "NetConfigXml [id=" + id + ", name=" + name + ", address=" + address + ", port=" + port + ", adminPort=" + adminPort + ", user=" + user
				+ ", password=" + password + ", desc=" + desc + "]";
	}

}